<?php
function ebook_create($v) {
	if($v!= '0000-00-00 00:00:00') {
		return date("Y-m-d",strtotime($v));
	} return "";
}
?>